package cn.kgc.crowdfundingadminspringboot2.service;

import cn.kgc.crowdfundingadminspringboot2.pojo.Admin;
import com.github.pagehelper.PageInfo;

public interface AdminService {
    /**
     *  根据id查询用户
     * @param id 用户id
     * @return 用户
     */
    Admin getAdminById(Integer id);


    Admin login(String loginAcct, String userPswd);
    PageInfo<Admin> queryForKeywordSearch(Integer pageNum, Integer pageSize, String keyword);
}
